﻿using System;
using VisionCloud.Core.Model.Sys;
using VisionCloud.Domain.Common;

namespace VisionCloud.Domain.DtoModel.Sys
{
    public class SysMenuDto
    {
        public Guid MenuId { get; set; }

        public string Name { get; set; }

        public string Description { get; set; }

        public string Url { get; set; }

        public string Icon { get; set; }

        public Guid? ParentId { get; set; }

        public int Level { get; set; }

        public string Component { get; set; }

        public int Sort { get; set; }

        public SysMenu.EnumMenuStatus Status { get; set; }

        public DateTime LastUpdatedDate { get; set; }
    }

    /// <summary>
    /// 查询条件对象
    /// </summary>
    public class SysMenuCondition : PageBase
    {
        public string Code { get; set; }
        public Guid MenuId { get; set; }

        public Guid ParentId { get; set; }

        public string Name { get; set; }
    }
}